import * as API from './'

export default {

    upChain: params=>{
      // return API.CHAIN_POST('/api-chain-private/admin/upChain', params)
      return API.POST('/api-chain-private/admin/upChain', params)

    },

    // 查询联盟链
    query: params => {
      return API.GET('/api-chain/admin/query', params)
    },
    //查询私有链
    query_private: params => {
      return API.GET('/api-chain-private/admin/query', params)
    },

    //查询通道信息
    query_channelInfo: params => {
      return API.GET('/api-chain/admin/channelInfo', params)
    },
}
